package com.xixi.core.rpc.fault.retry;

import com.xixi.core.rpc.model.RpcResponse;

import java.util.concurrent.Callable;

/**
 * @author: zxh
 * @date: 2024/8/27 15:27
 * @description: 不重试
 */
public class NoRetryStrategy implements RetryStrategy{
	@Override
	public RpcResponse doRetry(Callable<RpcResponse> callable) throws Exception {
		return callable.call();
	}
}
